<?php echo($html->docType('xhtml-trans')."\n"); ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<?php echo($html->charset('utf-8')."\n"); ?>
<?php echo($html->css('global.css')."\n"); ?>
<?php if(!empty($external_css)) {
	foreach($external_css as $css) {
		echo($html->css($css)."\n");
	}
} ?>
<title><?php echo($title_for_layout); ?></title>
</head>

<body>

<?php echo($this->element('header')); ?>
<?php echo($this->element('navbar')); ?>

<!-- Content -->
<div id="content">

<?php
	echo($content_for_layout);
?>

</div>
<!-- End Content -->

<?php echo $this->element('footer'); ?>

</body>

</html>
